package shupaiwen;

public class QuanjiaoBanjiao {
	public static String toquanjiao(String str){
		str=str.trim();
		StringBuilder stb = new StringBuilder();
		for (int i = 0; i < str.length(); i++) {
			char c = str.charAt(i);
//			３２-１２６　６５３４５//半角标点符号和英文字母转全角
			if(c>32&&c<=126){
				char ch = (char)(c+65248);
				stb.append(ch);
			}else if(c==32){//半角空格转全角空格
				stb.append((char)12288);
			}else
				stb.append(c);
		}
		return stb.toString();
	}
	public static String tobanjiao(){
		
		return null;
	}
}
